let api = {}
// const http = uni.$u.http;
// export const pre = '';//小程序线上地址调试
// export const pre = ''; //小程序本地调试
export const pre = '/jjh'; //h5本地调试
// export const pre = ''; //h5本地调试

/** 登录 */
api.login = pre + '/api/login'
api.getUserInfo = pre + '/getInfo'
api.captcha = pre + '/captchaImage'

// export const getCode = (data) => http.post(pre + '/sys_sms/send', data)
// export const login = (data) => http.post(pre + '/api/login', data)// 业务员灯枯
// export const logout = (data) => http.post(pre + '/api/loginOut', data)
// export const getUserInfo = (data) => http.post(pre + '/getInfo', data)

export default api;
